package models;

import java.util.ArrayList;
import java.util.Observable;

import structure.Frame;
import auxiliary.InputReader;

import common.INTERIOR_BOT;
import common.Message;

public class MainModel extends Observable{

	String title;

	public MainModel(){
		title = "3D-Bot";
	}
	
	public void handleLoadInputRequest(){
		InputReader ir = new InputReader();
		ArrayList<Frame> frames = ir.read("input/frames-feed");
		setChanged();
		notifyObservers(new Message(INTERIOR_BOT.LOAD_FRAMES, frames));
	}
	
}